﻿<!--{include header}-->
<!--${$column_num=5;}-->
<form name="frmSubmit" method="post" action="">
	
  <table width="100%"  border="0" cellspacing="1" cellpadding="8">
    <tr class="tableHeader"> 
      <td colspan="4">
           <B>&nbsp;修改密码</B> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           <font color = "#1B06CC" >{$str_change}</font>
      </td>
    </tr>
    <tr class="bg_0"> 
      <td align="right" width="10%">用户名：&nbsp;</td>
      <td width="15%">
      		{$user['name']}
      </td>
    </tr>
   
    <tr class="bg_0"> 
      <td align="right" width="10%">旧密码：&nbsp;</td>
      <td width="15%">
      	     <input type="password" name = "pw" >
      </td>
    </tr>
   
    <tr class="bg_0"> 
      <td align="right" width="10%">新密码：&nbsp;</td>
      <td width="15%">
      	     <input type="password" name = "pw1" >
      </td>
    </tr>
    <tr class="bg_0"> 
      <td align="right" width="10%">确认：&nbsp;</td>
      <td width="15%">
      	     <input type="password" name = "pw2" >
	     <input type="hidden" name = "t" value = "1">
      </td>
    </tr>
    
    <tr align="center" class="tableHeader"> 
      <td colspan="4"> <input type="submit" name="submit" value="修改"> </td>
    </tr>
  </table>
</form>
&nbsp;
<!--{if $user['id'] = 1 }-->
<form name="frmSubmit" method="post" action="">
	
  <table width="100%"  border="0" cellspacing="1" cellpadding="8">
    <tr class="tableHeader"> 
      <td colspan="4">
           <B>&nbsp;新建账号</B> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           <font color = "#1B06CC" >{$str_new}</font>
      </td>
    </tr>
    <tr class="bg_0"> 
      <td align="right" width="10%">用户名：&nbsp;</td>
      <td width="15%">
      		<input type="text" name ="name">
      </td>
    </tr>
   
    <tr class="bg_0"> 
      <td align="right" width="10%">密码：&nbsp;</td>
      <td width="15%">
      	     <input type="password" name = "pw1" >
      </td>
    </tr>
   
    <tr class="bg_0"> 
      <td align="right" width="10%">确认：&nbsp;</td>
      <td width="15%">
      	     <input type="password" name = "pw2" >
      </td>
    </tr>
    <tr class="bg_0"> 
      <td align="right" width="10%">邮箱：&nbsp;</td>
      <td width="15%">
      	     <input type="text" name = "email" >
	     <input type="hidden" name = "t" value = "2">
      </td>
    </tr>
    
    <tr align="center" class="tableHeader"> 
      <td colspan="4"> <input type="submit" name="submit" value="新建"> </td>
    </tr>
  </table>
</form>
<!--{/if}-->
<!--{if empty( $users_list ) }-->

&nbsp;
<table width="100%"  border="0" cellspacing="1" cellpadding="3" class="tableOutborder">
	<tr class="tableHeader"><td colspan="{$column_num}"><B>&nbsp;账号列表</B></td></tr>
	<tr class="tableHeader">
		<td width="4%" align="center">序号</td>
		<td width="10%" align="center">用户名</td>
		<td width="27%" align="center">权限级别</td>
	</tr>
	<!--{foreach $users_list AS $key => $one}-->
	<tr class="bg_${($key + 1)%2}">
		<td align="center">${$key + 1}</td>
		<td align="center">&nbsp;{$one['name']}</td>
		<td align="center">普通权限</td>
	</tr>
	<!--{/foreach}-->

</table>
<!--{/if}-->
&nbsp;

<!--{include footer}-->
